package Data;

import java.util.Date;

import InterFaces.IEvent;


public class Event implements IEvent {
	
	String eventIdentifiant;
	Date dateDebut;
	Date dateFin;

	public Event(String eventIdentifiant, Date dateDebut, Date dateFin) {
		super();
		this.eventIdentifiant = eventIdentifiant;
		this.dateDebut = dateDebut;
		this.dateFin = dateFin;
	}
	
	public Event() {
		super();
	}
	
	
	
	/* (non-Javadoc)
	 * @see Data.IEvent#toString()
	 */
	@Override
	public String toString() {
		return "Event [eventIdentifiant=" + eventIdentifiant + ", dateDebut=" + dateDebut
				+ ", dateFin=" + dateFin + "]";
	}
	/* (non-Javadoc)
	 * @see Data.IEvent#getEventIdentifiant()
	 */
	@Override
	public String getEventIdentifiant() {
		return eventIdentifiant;
	}
	/* (non-Javadoc)
	 * @see Data.IEvent#setEventIdentifiant(java.lang.String)
	 */
	@Override
	public void setEventIdentifiant(String eventIdentifiant) {
		this.eventIdentifiant = eventIdentifiant;
	}
	/* (non-Javadoc)
	 * @see Data.IEvent#getDateDebut()
	 */
	@Override
	public Date getDateDebut() {
		return dateDebut;
	}
	/* (non-Javadoc)
	 * @see Data.IEvent#setDateDebut(java.util.Date)
	 */
	@Override
	public void setDateDebut(Date dateDebut) {
		this.dateDebut = dateDebut;
	}
	/* (non-Javadoc)
	 * @see Data.IEvent#getDateFin()
	 */
	@Override
	public Date getDateFin() {
		return dateFin;
	}
	/* (non-Javadoc)
	 * @see Data.IEvent#setDateFin(java.util.Date)
	 */
	@Override
	public void setDateFin(Date dateFin) {
		this.dateFin = dateFin;
	}
	
}
